﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Lamex.mSchedule.Common
{
    public class GetTable
    {
        /// <summary>
        /// 扫描记录表
        /// </summary>
        /// <returns></returns>
        public static DataTable GetTable_Scan_Record()
        {
            DataTable dtNew = new DataTable();//动态生成输出表
            dtNew.Columns.Add("NOID");
            dtNew.Columns.Add("BARCODE");
            dtNew.Columns.Add("SCAN_QTY");
            dtNew.Columns.Add("TIME_LENGTH");
            dtNew.Columns.Add("SCAN_TIME");
            dtNew.Columns.Add("SCANNER_NO");
            dtNew.Columns.Add("LOCATION_CODE");
            dtNew.Columns.Add("STATION_NAME");
            return dtNew;
        }
        /// <summary>
        /// 扫描显示表
        /// </summary>
        /// <returns></returns>
        public static DataTable GetTable_Scan_UI()
        {
            DataTable dtNew = new DataTable();//动态生成输出表
            dtNew.Columns.Add("BARCODE");
            dtNew.Columns.Add("SCAN_TIME");
            dtNew.Columns.Add("LOCATION_CODE");
            dtNew.Columns.Add("SCAN_QTY");
            dtNew.Columns.Add("SCANNER_NO");
            dtNew.Columns.Add("BARCODE_CN");
            return dtNew;
        }
    }
}
